/*
 * @Description: 你的代码我的心
 * @Author: GGB
 * @Date: 2021-12-27 09:35:08
 * @LastEditors: GGB
 * @LastEditTime: 2021-12-27 13:46:53
 */
import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel';

export type StaffParams = {
  search?: String;
};
export type StaffBaseForm = {
  real_name: String;
  user_name: String;
  password?: String;
  password_confirm?: String;
  sort: Number;
  roles?: Number[];
};

export type AddForm = {
  form: StaffBaseForm;
};

export type UpdateStaffState = {
  userId: String | Number;
  form: StaffBaseForm;
};

export type DelParams = {
  userId: String;
};
export type StaffPageParms = BasicPageParams & StaffParams;

export type StaffListGetResultModel = BasicFetchResult<any>;
